<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta content="最热前端框架,爱尚博客,前端趋势,微信小程序制作,小程序教程,前端怎么做app,app制作,网站开发,靠谱的网站开发,app开发,小程序开发,小程序开发多少钱,app开发多少钱,网站开发多少钱"
        name="Keywords">
    <meta name="description" content="爱尚博客-让前端萌新少走弯路的博客！" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <title>爱尚博客-爱尚前端</title>
    <link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
    <script src="../../../common/public.js"></script>
    <link rel="stylesheet" href="../../css/e.css">
    <link rel="stylesheet" href="./css/Subscribe.css">
</head>

<body>
    <div class="box" v-cloak>
        <div style="margin: 15px 0;display: flex;">
            <el-input placeholder="请输入邮箱..." v-model="input" class="input-with-select">
                <el-button slot="append" icon="el-icon-search" @click.native="search()">搜索</el-button>
            </el-input>
            <el-button type="primary" plain @click.native="select_book(1)">显示全部</el-button>
        </div>
        <el-table :data="tableData" border style="width: 100%">
            <el-table-column prop="Id" label="ID" width="180">
            </el-table-column>
            <el-table-column prop="email" label="邮箱" width="180">
            </el-table-column>
            <el-table-column prop="name" label="昵称" width="180">
            </el-table-column>
            <el-table-column prop="flg" label="状态">
                <template slot-scope="scope">
                    <el-switch v-model="scope.row.flg1" active-color="#13ce66" inactive-color="#ff4949" disabled>
                    </el-switch>
                </template>
            </el-table-column>
            <el-table-column prop="timer" label="订阅时间" width="180">
            </el-table-column>
            <el-table-column label="编辑">
                <template slot-scope="scope">
                    <el-button type="danger" plain @click.native="del(scope.row.Id)">删除</el-button>
                    <el-button type="primary" plain @click.native="get_emails(scope.row.email)">发送邮件</el-button>
                </template>
            </el-table-column>
        </el-table>
        <div class="block">
            <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :page-size="1"
                :current-page="1" :total="currentPage">
            </el-pagination>
        </div>
    </div>
</body>
<script src="../../../common/v.js"></script>
<script src="../../../common/a.js"></script>
<script src="../../js/e.js"></script>
<script src="./js/Subscribe.js"></script>

</html>